<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>page_body — Page Body Serverside Module &mdash; Documentation</title>
    <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '',
        COLLAPSE_MODINDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="Documentation" href="index.html" />
    <link rel="up" title="Server Side Internals" href="server_side_internals.html" />
    <link rel="next" title="form — Form Module" href="form_server.html" />
    <link rel="prev" title="db — Database" href="db.html" /> 
  </head>
  <body>
    <div style="background-color: #FFF; text-align: left; padding: 8px 0px"><img src="_static/banner300910.gif"></div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="modindex.html" title="Global Module Index"
             accesskey="M">modules</a> |</li>
        <li class="right" >
          <a href="form_server.html" title="form — Form Module"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="db.html" title="db — Database"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">Documentation</a> &raquo;</li>
          <li><a href="server_side_api.html" >3. Server Side API</a> &raquo;</li>
          <li><a href="server_side_internals.html" accesskey="U">Server Side Internals</a> &raquo;</li> 
      </ul>
    </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <h4>Previous topic</h4>
            <p class="topless"><a href="db.html"
                                  title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">db</span></tt> &#8212; Database</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="form_server.html"
                                  title="next chapter"><tt class="docutils literal docutils literal"><span class="pre">form</span></tt> &#8212; Form Module</a></p>
            <h3>This Page</h3>
            <ul class="this-page-menu">
              <li><a href="_sources/page_body.txt"
                     rel="nofollow">Show Source</a></li>
            </ul>
          <div id="searchbox" style="display: none">
            <h3>Quick search</h3>
              <form class="search" action="search.html" method="get">
                <input type="text" name="q" size="18" />
                <input type="submit" value="Go" />
                <input type="hidden" name="check_keywords" value="yes" />
                <input type="hidden" name="area" value="default" />
              </form>
              <p class="searchtip" style="font-size: 90%">
              Enter search terms or a module, class or function name.
              </p>
          </div>
          <script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-page_body">
<h1><tt class="xref docutils literal"><span class="pre">page_body</span></tt> &#8212; Page Body Serverside Module<a class="headerlink" href="#module-page_body" title="Permalink to this headline">¶</a></h1>
<dl class="data">
<dt id="page_body.index_template">
<tt class="descclassname">page_body.</tt><tt class="descname">index_template</tt><a class="headerlink" href="#page_body.index_template" title="Permalink to this definition">¶</a></dt>
<dd>HTML Template of index.cgi</dd></dl>

<dl class="function">
<dt id="page_body.get_page_content">
<tt class="descclassname">page_body.</tt><tt class="descname">get_page_content</tt><big>(</big><em>page</em><big>)</big><a class="headerlink" href="#page_body.get_page_content" title="Permalink to this definition">¶</a></dt>
<dd>Gets the HTML content from <cite>static_content</cite> or <cite>content</cite> property of a <cite>Page</cite></dd></dl>

<dl class="function">
<dt id="page_body.get_doc_content">
<tt class="descclassname">page_body.</tt><tt class="descname">get_doc_content</tt><big>(</big><em>dt</em>, <em>dn</em><big>)</big><a class="headerlink" href="#page_body.get_doc_content" title="Permalink to this definition">¶</a></dt>
<dd>Gets the HTML content of a document record by using the overridden or standard :method: <cite>doclist.to_html</cite></dd></dl>

<dl class="function">
<dt id="page_body.get_static_content">
<tt class="descclassname">page_body.</tt><tt class="descname">get_static_content</tt><big>(</big><big>)</big><a class="headerlink" href="#page_body.get_static_content" title="Permalink to this definition">¶</a></dt>
<dd>Returns the static content from the permalink using the <cite>page</cite> property of the URL (webnotes.form)</dd></dl>

<dl class="function">
<dt id="page_body.get">
<tt class="descclassname">page_body.</tt><tt class="descname">get</tt><big>(</big><big>)</big><a class="headerlink" href="#page_body.get" title="Permalink to this definition">¶</a></dt>
<dd>returns the full rendered index.cgi
Gets <cite>keywords</cite> and <cite>site_description</cite> from the <cite>Control Panel</cite></dd></dl>

</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="modindex.html" title="Global Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="form_server.html" title="form — Form Module"
             >next</a> |</li>
        <li class="right" >
          <a href="db.html" title="db — Database"
             >previous</a> |</li>
        <li><a href="index.html">Documentation</a> &raquo;</li>
          <li><a href="server_side_api.html" >3. Server Side API</a> &raquo;</li>
          <li><a href="server_side_internals.html" >Server Side Internals</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
      &copy; Copyright 2010, Rushabh Mehta.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
    </div>
  </body>
</html>